package com.xkdx.caipiao.presistence.flowdetail;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import com.xkdx.caipiao.module.network.AbsAction;

public class PhoneDetailAction extends AbsAction {

	
		String uid, logintoken, tradestatus, pagesize,signcode;

		public PhoneDetailAction(String uid, String logintoken, String tradestatus, String pagesize,String signcode) {
			this.uid = uid;
			this.logintoken = logintoken;
			this.tradestatus = tradestatus;
			this.pagesize = pagesize;
			this.signcode = signcode;

		}

		@Override
		public void constructRequest() {

			HashMap<String, String> map = new HashMap<String, String>();
			map.put("uid", uid);
			map.put("logintoken", logintoken);
			map.put("tradestatus", tradestatus);
			map.put("pagesize", pagesize);
			map.put("signcode", signcode);

			String json = constructJson(map);
			Parameter parameter = new Parameter("FlowRecharge", "GetRechargeList", json);

			List<Parameter> list = new ArrayList<Parameter>();
			list.add(parameter);
			requestData = constructMod(list);
		}
	}

